<!DOCTYPE html>
<title>keygen</title>
<meta charset="UTF-8">
<html>
<body>
<?php
$istat = 033032;
$key = base_convert($istat,10,36);

$catastale = 'G535';
$md5 = md5($catastale);

?>
<p><?php echo "base36: ".$key; ?></p>
<p><?php echo "md5: ".$md5; ?></p>
</body>
</html>